package com.yfy.service;

import com.github.pagehelper.PageInfo;
import com.yfy.model.entity.User;

/**
 * @Author yfy2001
 * @date 2022/11/16 9:45
 */
public interface UserService {
    /**
     * 用户注册
     * @param user
     */
    public void register(User user);

    /**
     * 用户分页查询
     * @param page
     * @param count
     * @return
     */
    public PageInfo<User> selectUserWithPage(Integer page, Integer count);

    /**
     * 用户逻辑删除
     * @param user
     */
    public void logicDeletedUser(User user);

    /**
     * 取消删除
     * @param user
     */
    public void unDeletedUser(User user);
}
